package com.corpgovernment.supplier.mapper;


import com.corpgovernment.api.supplier.vo.MbSupplierInfoVo;
import com.corpgovernment.organization.common.mybatis.TkMapper;
import com.corpgovernment.supplier.entity.db.MbSupplierInfo;
import com.corpgovernment.supplier.vo.SupplierInfoListVo;
import com.corpgovernment.supplier.vo.suppliercompany.SupportSupplierInfoVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * MbSupplierInfoMapper数据库操作接口类
 **/
@Repository
@Mapper
public interface MbSupplierInfoMapper extends TkMapper<MbSupplierInfo> {
    List<SupplierInfoListVo> listAllWithExtendInfo();

    List<MbSupplierInfoVo> loadSupplierInfoVos(@Param("ids") List<Long> ids, @Param("supplierCodes") List<String> supplierCodes);

    List<SupportSupplierInfoVo> loadSupplierInfos();

    MbSupplierInfo get(String supplierCode);
}